#
# Be sure to run `pod lib lint XCDragCardContainer.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'XCDragCardContainer'
  s.version          = '0.1.3'
  s.summary          = 'A short description of XCDragCardContainer.'
 
  s.homepage         = 'https://gitee.com/chengssir/XCDragCardContainer'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'chengssir@sina.com' => 'chengssir@sina.com' }
  s.source           = { :git => 'https://gitee.com/chengssir/XCDragCardContainer.git', :tag => s.version.to_s }
  
  s.swift_version    = "5.0"
  s.ios.deployment_target = '11.0'

  if ENV['use_code'] or ENV[s.name+'_use_code']
    s.source_files = 'XCDragCardContainer/Classes/**/*'
  else #Framework模式
   s.ios.vendored_frameworks = 'Frameworks/XCDragCardContainer.xcframework'
  end
  
end
